const Layouts = () => import("@/layouts/index.vue")
export default [
  {
    path: '/', // 如果路由为/
    redirect: '/login' //重定向到登录组件
},
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/login/index.vue"),
    meta: {
      title: "登录",
      showLink: false,
      rank: 101
    }
  },
  {
    path: "/Home",
    component: Layouts,
    redirect: "/dashboard",
    children: [
      {
        path: "/Home",
        name: "Home",
        component: () => import("@/views/Home/index.vue"),
        meta: {
          title: "首页",
          showLink: false,
         
        }
      },
    ]
  },
  
] satisfies Array<RouteConfigsTable>;
